import SvgIcon from '@/components/SvgIcon/SvgIcon.vue'

const req = require.context('./svg', false, /\.svg$/)
const requireAll = requireContext => requireContext.keys().map(requireContext)
requireAll(req)

export function register(app) {
    app.component('svg-icon', SvgIcon)
}
